a5_exif_getLatLon Function
IN THIS PAGE
Syntax
P a5_exif_getLatLon(C fileName )
Arguments
- P
Character
- fileName
The filename of an image that may contain EXIF data
Description
Reads a jpeg file and extracts GPS Lat/Lon, formatted for use with Google Maps, if present.
Result properties
- Result
Description
- C lat
Latitude
- C lon
Longitude
- C json
Lat, Lon formatted for Google Maps
- L haserror
.T. if there was an error
- C errorText
Error text, if any
Reads a jpeg file and extracts GPS Latitude and Longitude, formatted for use with Google Maps, if the information is present.
Example
dim latlon as p latlon = a5_exif_getLatLon("c:\images\photo.jpg") ? latlon
See Also